This folder contains several R code files and a dataset for
implementing the approaches and replicating the results in the paper
``Identification and Sensitivity Analysis of Contagion Effects in
Randomized Placebo-Controlled Trials’’ by Imai and Jiang

** Files **

N08.dta   We use the following variables in the dataset: treatment (treatment), indicator of successful contact (hsecontact) , turnout result (voted02p), city (city), party (party), gender (gender)

EM_contagion.R     contains functions for the EM algorithms for the parametric analysis and sensitivity analysis

Res_table2.RData    contains the results for replicating table 2 

Res_figures.RData   contains the results for replicating the figures

Table1.R                  generates the numbers for Table 1 

Table2.R                  generates the numbers for Table 2. It takes as inputs:   Res_table2.RData

Figures.R                 generates the numbers for Table 2. It takes as input: Res_figures.RData
